package com.gec.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gec.model.system.SysMenu;
import com.gec.model.vo.AssginMenuVo;
import com.gec.model.vo.RouterVo;

import java.util.List;

/**
 * <p>
 * 菜单表 服务类
 * </p>
 *
 * @author dafei
 * @since 2023-04-28
 */
public interface SysMenuService extends IService<SysMenu> {

    List<SysMenu> findAllMenus();

    void removeMenuById(Long id);


    List<SysMenu> findSysMenuByRoleId(Long roleId);

    void doAssign(AssginMenuVo assginMenuVo);
    //根据用户id获取菜单权限值
    List<RouterVo> findUserMenuList(Long id);
    //根据用户id获取用户按钮值
    List<String> findUserPermList(Long id);
}
